home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / SourceCode / AdobeExamples / NX_ImportInt / epsf.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-19  |  2.2 KB  |  65 lines

  1.  
  2. /*
  3.  * (a)  (C) 1990 by Adobe Systems Incorporated. All rights reserved.
  4.  *
  5.  * (b)  If this Sample Code is distributed as part of the Display PostScript
  6.  *    System Software Development Kit from Adobe Systems Incorporated,
  7.  *    then this copy is designated as Development Software and its use is
  8.  *    subject to the terms of the License Agreement attached to such Kit.
  9.  *
  10.  * (c)  If this Sample Code is distributed independently, then the following
  11.  *    terms apply:
  12.  *
  13.  * (d)  This file may be freely copied and redistributed as long as:
  14.  *    1) Parts (a), (d), (e) and (f) continue to be included in the file,
  15.  *    2) If the file has been modified in any way, a notice of such
  16.  *      modification is conspicuously indicated.
  17.  *
  18.  * (e)  PostScript, Display PostScript, and Adobe are registered trademarks of
  19.  *    Adobe Systems Incorporated.
  20.  * 
  21.  * (f) THE INFORMATION BELOW IS FURNISHED AS IS, IS SUBJECT TO
  22.  *    CHANGE WITHOUT NOTICE, AND SHOULD NOT BE CONSTRUED
  23.  *    AS A COMMITMENT BY ADOBE SYSTEMS INCORPORATED.
  24.  *    ADOBE SYSTEMS INCORPORATED ASSUMES NO RESPONSIBILITY
  25.  *    OR LIABILITY FOR ANY ERRORS OR INACCURACIES, MAKES NO
  26.  *    WARRANTY OF ANY KIND (EXPRESS, IMPLIED OR STATUTORY)
  27.  *    WITH RESPECT TO THIS INFORMATION, AND EXPRESSLY
  28.  *    DISCLAIMS ANY AND ALL WARRANTIES OF MERCHANTABILITY, 
  29.  *    FITNESS FOR PARTICULAR PURPOSES AND NONINFRINGEMENT
  30.  *    OF THIRD PARTY RIGHTS.
  31.  */
  32.  
  33. /*
  34.  *    epsf.h
  35.  *
  36.  *    Contains the external declarations for the functions in
  37.  *    epsfreader.c and epsfwriter.c.
  38.  */
  39.  
  40. #import "epsfstruct.h"
  41.  
  42. #import <appkit/nextstd.h>
  43. #import <appkit/tiff.h>
  44. #import <objc/objc.h>
  45.  
  46. extern void      CheckEpsfBinaryHeader(char **data, int *len);
  47. extern int      ReadEpsf(EpsfStruct *epsf);
  48. const char     *GetTypeComment(int type);
  49.  
  50. extern void    WriteEpsfProcSetDef();
  51. extern void    WriteEpsfProcSetInit();
  52. extern void    WriteEpsfProcSetTerm();
  53.  
  54. extern void      WriteEpsfIllustratorBeg(NXRect  *bounds, NXRect *boundsOrig,
  55.                 float rotation, char *filename);
  56. extern void      WriteEpsfIllustratorInclude(char *name);
  57. extern void      WriteEpsfIllustratorEnd();
  58.  
  59. extern void      WriteEpsfResource(id list, int i, int j);
  60. extern void    WriteEpsfPreview(id  image);
  61.  
  62. extern int        WriteEpsf(const char *name, NXRect *bounds, NXRect *boundsOrig);
  63.  
  64. extern char    *ErrorEpsf(int errorcode);
  65.